import request from '@/utils/request';

export async function query() {
  return request('/api/users');
}
export async function queryCurrent() {
  return request('/api/currentUser');
}
export async function queryNotices() {
  return request('/api/notices');
}

export async function changePassword(reData){
  return request(`/api/account/pwd`, {
    method: 'POST',
    data: reData,
  });
}